/*
* @Author: 李杏华
* @Date:   2020-01-11 11:42:53
* @Last Modified by:   李杏华
* @Last Modified time: 2020-01-11 11:54:28
*/
//导航栏下拉
      	var obox=document.getElementById('box');
      	var list=obox.children;
      	for(var i=0;i<list.length;i++){
      		list[i].onmouseenter=function(){
      			this.setAttribute('class','current');
      			//如果只有一句话的
      			if(this.children.length==0){
      				return;
      			}
      			this.children[0].setAttribute('class','current');
      		}
      		list[i].onmouseleave=function(){
      			this.removeAttribute('class');
      			if(this.children.length==0) return;
      			this.children[0].removeAttribute('class');
      		}
      	}